<%@ Page Language="C#" Inherits="VolunteerTracker.CreateAccount" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
		    
<html>
<head>
	<title>CreateAccount</title>
</head>

<body>
	<form id="form1" runat="server">
	Please enter the following information to create an account.  While not all fields are required, we ask
	you to fill out all of them.  That way our organizers will know who you are.  Also this will allow you to
	search for local events and teams.  Your information will not be publically available.
	<br/>
	<table><tr><td>
		<asp:Label ID="lblFname" text="First name" runat="server" />
	</td><td>
		<asp:TextBox ID="txtFname" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblLname" text="Last name" runat="server" />
	</td><td>
		<asp:TextBox ID="txtLname" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblEmail" text="*Email address" runat="server" />
	</td><td>
		<asp:TextBox ID="txtEmail" runat="server" />
		<asp:RequiredFieldValidator ID="valRqEmail" text="You must enter an email address" runat="server" 
			ControlToValidate="txtEmail" Display="dynamic" />
		<asp:RegularExpressionValidator ID="valEmail" text="Invalid email address" runat="server"
			ControlToValidate="txtEmail" Display="dynamic" ValidationExpression=".*@.*\..*" />
	</td></tr><tr><td>
		<asp:Label ID="lblPhone" text="Phone number" runat="server" />
	</td><td>
		<asp:TextBox ID="txtPhone" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblAddress" text="Address" runat="server" />
	</td><td>
		<asp:TextBox ID="txtAddress" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblCity" text="City" runat="server" />
	</td><td>
		<asp:TextBox ID="txtCity" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblState" text="State" runat="server" />
	</td><td>
		<asp:TextBox ID="txtState" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblZip" text="Zip code" runat="server" />
	</td><td>
		<asp:TextBox ID="txtZip" runat="server" />
	</td></tr><tr><td>
		<asp:Label ID="lblPass" text="*Password" runat="server" />
	</td><td>
		<asp:TextBox ID="txtPass" runat="server" TextMode="password" />
		<asp:CompareValidator ID="valPass" runat="server" Type="String" Text="Passwords do not match"
			ControlToValidate="txtPass" ControlToCompare="txtPass2" Display="dynamic" />
		<asp:RequiredFieldValidator ID="valRqPass" text="You must have a password" runat="server" 
			ControlToValidate="txtPass" Display="dynamic" />
	</td></tr><tr><td>
		<asp:Label ID="lblPass2" text="*Re-enter Password" runat="server" />
	</td><td>
		<asp:TextBox ID="txtPass2" runat="server" TextMode="password" />
	</td></tr><tr><td>
		<asp:Label ID="lblTeam" text="Team" runat="server" />
	</td><td>
		<asp:DropDownList ID="drpTeam" runat="server" />
	</td></tr><tr><td>
		<asp:Button ID="btnSubmit" OnClick="btnSubmit_Click" text="Submit" runat="server" />
	</td></tr></table>
	<br /> * required field
	</form>
</body>
</html>